﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Configuration;

namespace Zove.Runtime.Queries.Editor {
    public partial class OptionsView : Form {
        public OptionsView() {
            InitializeComponent();
        }

        private void btnFontSetup_Click(object sender, EventArgs e) {
            FontDialog d = new FontDialog();

            if (d.ShowDialog() == DialogResult.OK) {
                ConfigurationManager.AppSettings["font"] = d.Font.Name;
                ConfigurationManager.AppSettings["font-size"] = d.Font.Size.ToString();
            }
        }
    }
}
